• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Some questions

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
Is this valid?
Integer iwSize[] = new Integer[]{new Integer(1)}; Some mock exam says its valid while some say it is not.

What is forward referencing? I couldnt find it in Mughals book.

Is default modifier permitted for interface decalaration and memebers declared inside it? what modifiers are allowed?

Also can a dead thread be restarted?

Thankyou
 
Ranch Hand
Posts: 377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ketki,

Originally posted by ketki kalkar:
Is this valid?
Integer iwSize[] = new Integer[]{new Integer(1)}; Some mock exam says its valid while some say it is not.


Please ask your favorite Java Compiler.

What is forward referencing? I couldnt find it in Mughals book.


Have a look at the following article: Forward Referencing

Is default modifier permitted for interface decalaration


Yes.

and memebers declared inside it?


Methods are always 'public abstract'
Variables are always 'public static final'

Also can a dead thread be restarted?


To gain experience, you should write the seven lines of Java code to answer your question.
 
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A dead thread can never be restart.
 
Paper jam tastes about as you would expect. Try some on this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic