Java Related AllOther Interview Questions
Questions Answers Views Company eMail

What is the difference between Logical Parallelism and Physical Parallelism?

HCL,

2939

when i send the request to the JSP page it will print as it is and why? and how to solve this problem please inform me that solution

1427

what about jdb and javadoc by example ?

TCS,

1698

public class Dog { private int weight; public int getweight(){ return weight; } public void SetWeight(int newWeight){ if (newWeight > 0){ weight = newWeight; } } } public class TestDog { public static void main(String[] args) { Dog d = new Dog(); System.out.println("Dog d's weight is " + d.getWeight()); d.setWeight(42); System.out.println("Dog d's weight is " + d.getWeight()); d.setweight(-42); System.out.println("Dog d's weight is " + d.getWeight()); } } class dog is compiled but there is an error in class TestDog when compiled and the error is with dot notations. I want to kmow why there is error in testdog class when compiled.

3 6028

is hibernate a technology or framework?

4 7730

Is java Class Thread safe ???? How to make java Class Thread safe ??

Cognizant, TCS,

1 5651

why java has the size of character 2 byte ,while in c/c++ it is of 1 byte?

IBS,

8 23777

what is major difference between component and object?

HCL, Patni,

1 4159

Sytem.out.println(" "); this code what mean

2 3648

how can program polindrome using java

1 2587

Which is the best book for whole java study?

12 10912

suppose we have one String s="india is my country"; now we get the o/p "like country my is India". what is the logic?

2 3476

what are the steps in JDBC connectivity..???

IBM, SoftCom, TCS,

1 3214

How the java is platform independent?

TCS,

1 3664

what type of java questions asked?

1 2377


Post New Java Related AllOther Questions

Un-Answered Questions { Java Related AllOther }

What is a delimiter in java?

478


How do I run a java project?

474


What is java bean class?

479


What is a static method?

512


What is difference between map and flatmap in java 8?

458






What is jsr in java?

478


Do I really have to type in the programs in the book to try them out?

575


What is setstring method in java?

500


What are microservices in java?

453


What if I write static public void instead of public static void?

462


What is static class in java?

500


If you’re overriding the method equals() of an object, which other method you might also consider?

504


What is an action class in java?

479


Define network programming?

519


What is interceptor in java?

458