Found 9321 Articles for Object Oriented Programming

What is difference between a Java method and native method

Debarpito Sarkar
Updated on 05-Sep-2022 12:39:32

722 Views

This article will help you understand all differences between a Java method and a native method. Function / Method A program module (a part of the program) used simultaneously at different instances in a program to perform specific task is known as Method or Function. It can be regarded as a black box that is capable of returning an output (obtained as per execution of the codes written inside). Similarly, all the methods available in Java class act as a black box. On providing values (arguments) to a method, it processes the code available within it and returns the output. ... Read More

Why java is both compiled and interpreted language.

Jai Janardhan
Updated on 30-Jul-2019 22:30:21

619 Views

Yes, a java program is first compiled into bytecode which JRE can understand. ByteCode is then interpreted by the JVM making it as interpreted language.

Initialization, declaration and assignment terms in Java

Arushi
Updated on 25-Feb-2020 06:15:44

1K+ Views

A variable provides us with named storage that our programs can manipulate. Each variable in Java has a specific type, which determines the size and layout of the variable's memory; the range of values that can be stored within that memory; and the set of operations that can be applied to the variable.You must declare all variables before they can be used. Following is the basic form of a variable declaration − data type variable [ = value][, variable [ = value] ...] ;Here data type is one of Java's datatypes and variable is the name of the variable. To ... Read More

Best book to learn Java programming for beginners

Daniol Thomas
Updated on 25-Feb-2020 06:14:12

162 Views

Following books are on top from popularity and content wise and are a good resource to learn java programming from beginner to advance level.

Best practice for variable and method naming in Java

Moumita
Updated on 17-Jun-2020 13:49:24

510 Views

All Java components require names. Names used for classes, variables and methods are called identifiers. In Java, there are several points to remember about identifiers. They are as follows -All identifiers should begin with a letter (A to Z or a to z), currency character ($) or an underscore (_). After the first character, identifiers can have any combination of characters.A keyword cannot be used as an identifier. Most importantly, identifiers are case sensitive. Examples of legal identifiers: age, $salary, _value, __1_value. Examples of illegal identifiers: 123abc, -salary.

Which is the best book for Java interview preparation

Krantik Chavan
Updated on 25-Feb-2020 05:29:24

111 Views

Following books are on top from popularity and content wise and are a good resource to learn java programming from beginner to advance level.

Core Java interview questions

Nishtha Thakur
Updated on 17-Jun-2020 13:53:41

536 Views

There are many sites which are a good resource for java interview questions-answers. Following is the list of most popular websites.Tutorialspoint - www.tutorialspoint.comStackOverflow - www.stackoverflow.comDZone - www.dzone.comWikipedia - www.wikipedia.orgIBM Developer Works - www.ibm.com/developerworks/java/TechGig - www.techgig.comGitHub - www.github.comJava  documentation - docs.oracle.com/javase/Coursera - www.coursera.org/JavaWorld - www.javaworld.com/

How to answer Top Java interview questions

Smita Kapse
Updated on 17-Jun-2020 13:46:03

130 Views

There are many sites which are a good resource for java interview questions-answers. Following is the list of most popular websites.Tutorialspoint - www.tutorialspoint.comStackOverflow - www.stackoverflow.comDZone - www.dzone.comWikipedia - www.wikipedia.orgIBM Developer Works - www.ibm.com/developerworks/java/TechGig - www.techgig.comGitHub - www.github.comJava documentation - docs.oracle.com/javase/Coursera - www.coursera.org/JavaWorld - www.javaworld.com/

Java interview questions and answers

Anvi Jain
Updated on 30-Jul-2019 22:30:21

316 Views

There are many sites which are a good resource for java interview questions-answers. Following is the list of most popular websites.Tutorialspoint - www.Tutorialspoint.comStackOverflow - www.stackoverflow.comDZone - www.dzone.comWikipedia - www.wikipedia.orgIBM Developer Works - www.ibm.com/developerworks/java/TechGig - www.techgig.comGitHub - www.github.comJava documentation - docs.oracle.com/javase/Coursera - www.coursera.org/JavaWorld - www.javaworld.com/

Websites every Java developer should bookmark

Nitya Raut
Updated on 17-Jun-2020 13:48:37

99 Views

There are many sites which are a good resource to learn java. Following is the list of most popular websites.Tutorialspoint - www.tutorialspoint.comStackOverflow - www.stackoverflow.comDZone - www.dzone.comWikipedia - www.wikipedia.orgIBM Developer Works - www.ibm.com/developerworks/java/TechGig - www.techgig.comGitHub - www.github.comJava documentation - docs.oracle.com/javase/Coursera - www.coursera.org/JavaWorld - www.javaworld.com/

Advertisements