Top 40 JAVA Programming Questions

JAVA Programming Questions How to add argument in java class AddArguments { public static void main(String[] args) { int sum=0; for(int i=0;i<args.length;i++) { sum=sum+Integer.parseInt(args[i]); } System.out.println("after add all args :"+sum);…

Continue Reading Top 40 JAVA Programming Questions

Multithreading in Java

Thread is a light-weight process. The processing unit is known as a thread. When a process is divided into multiple parts and each part can be executed independently, then it…

Continue Reading Multithreading in Java

Stack in Java

Stack Stack in Java, The evaluation of stack is always LIFO(last in first out) order. The operation on the stack always for the top of the stack. The stack is…

Continue Reading Stack in Java

Collection Framework in Java

Collection Framework In java collection framework is classes and interfaces which are generally used to implement data structure. The collection is a group of similar types of object and itself…

Continue Reading Collection Framework in Java

File in JAVA

File in JAVA The file is a container which stores data permanently Data can be stored in two different ways :-For a temporary period with RAM memory :-For permanently period…

Continue Reading File in JAVA

Array in JAVA

Array in JAVA:-    Array in Java is a collection of similar types of data store in sequential order. It is used to create a list Array is static in nature.…

Continue Reading Array in JAVA

End of content

No more pages to load