What is class and object in java?
When can we say that threads are not lightweight process in java?
How does class forname work in java?
what is associative array
why Interface used?
Which is the class in java?
for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }
What is method Overriding in the perspective of OOPS?
What is static block?
What will happen if a thrown exception is not handled?
0 Answers ABB, Akamai Technologies, Infogain,
1) There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads?
Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target
What are benefits of java?