Questions & Answers for: Sun true or false Computers & Internet

Question about Java Desktop System

1 Answer

to find palindrome to print a given string is palindrome or not // String s contains word to check boolean palindrome = false;//always false until proven otherwise int i=0; int len = s.length(); int ...

Ad

Question about Java Programming Language (cdj-275)

1 Answer

...true; for (int j = 2; j < i; j++) { if (i % j == 0) { isPrime = false; break; } } if (printPrimes && isPrime) { System.out.println(i); } } } // REMAINING METHODS NOT SHOWN } Implement the ...

Ad

Question about Java Programming Language (cdj-275)

1 Answer

true if so, and false if not. public E top() throws StackException;//retrieves value at the top of the stack. Stack cannot be empty. public void push(E value) throws StackException;//pushes a value on

Question about Java Programming Language (cdj-275)

1 Answer

...true) { r = 1 + Double.parseDouble(t1.getText()); t1.setText(r+""); } }catch(Exception e){ System.out.println(e); } } public void actionPerformed(ActionEvent ae) { double ri,damt,in,mamt; ...

Not finding what you are looking for?

Ask a Question

Usually answered in minutes!

Manuals & User Guides

Loading...