Which package is always imported by default

The java.lang package is always imported by default.

Showing Answers 1 - 9 of 9 Answers

peter

  • Jan 18th, 2016
 


Code
  1. public class Q5{

  2.     public static void main(String[] args) throws Exception {

  3.         int j, i = 1;

  4.         j = (i != 1) ? (++ i + ++ i + i ++) : (i ++ + i ++ + ++ i);

  5.         System.out.println(j);

  6.     }

  7. }

  8.  

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions