Simple Import Static Question


Just wondering is it possible in regards to "import static" to statically import a static class or does it only allow one to import static functions and variables within a class?


Thanks for your reply. I actually do understand that using "static import" will import static methods and variables. My Question is
can one import static classes themselves because I have read conflicting reports:
(1) Report 1: can statically import classes, methods and variables.
(2) Report 2: can statically import methods and variables.
public class staticImport
     static class staticImportExample
             static int i = 12;
}Can I statically import the above class as for example "*"? Will this import the static class "staticImportExample". I'm asking because I'm trying to figure out whether static classes can be imported.

November 30, -0001

Simple Import Static Question

Hi, Just wondering is it possible in regards to "import static" to statically import a static class or does it only allow one to import static functions and variables within a class? Cheers.Hi, Thanks for your reply. I actually do understand tha

Simple X-fi Question, Please Help

!Simple X-fi Question, Please HelpL I've been looking for an external sound card that is similar to the 2002 Creative Extigy and think I may found it in the Creative X-Fi. I have some questions about the X-fi though. Can the X-fi: 1. Input sound from

How should i do for using "import static" in CDC?

Hello- First of all, i have no good Eng. skill. please understand me if i write wrong words. I'm a beginner of Java ME and i want to compile some sources using CDC Java(TM) ME platform SDK 3.0. The sources are using "*import static*" and they ne

No option to import GIFT question as pretest

I'm importing a gift file, and it appears to default to "Graded", with no option to change it to Pretest.  Not a huge problem with smaller courses but it would be nice to import pretest questions as well. Unless I'm just missing something?I thin

ReportMigration Using LCM & Simple Import & Export.

Hi, I just want to know the difference between these two.. migrating the reports using LCM or by a simple import & export. Will LCM even migrate the user security which is associated with the report?? Can anybody throw some light on this. Thanks Jaga

Simple 'for' loop question in C

Hello. Consider the following code in C: int i; for (i = 0; i < 10; i++) { printf("%d ", i + 1); Obviously, this is very simple -- it will print 1 through 10 to the console one line at a time, but consider this code: int i; for (i = 0; i <

(hopefully) simple, dumb swingworker question

I'm experimenting with Swing for the first time, after coming from PHP (non-threaded, non-GUI, etc). I'd like to build a button that does some long-running background task, so, working my way through Sun tutorials, I've come to SwingWorker. I underst

EDL Exporting and Importing 101 - Questions

We are testing Premiere's EDL exporting and importing capabilities for the first time, and are having issues. We set up a very simple test project with only 13 clips and a timeline with only 10 edits. This is what it looks like: http://img819.imagesh

Simple nib file question

I believe that all the examples I've seen of nib/xib files have been connections to the corresponding controller or view files, or to the app delegate and the main window, Please correct me if I'm wrong, I might just be tired and missing an important

JSTL c:import tag question

HI I have a question about how the <c:param> tag interacts with <c:import> tag. <c:import> tag can be used to import from relative URL's like <c:import url="target.jsp" /> , from absolute urls like <c:import url="

MOD answers please - simple yes / no questions on pops and crackl

Dear MOD's Could someone PLEASE answer these questions with a simple yes / no answer. It seems a lot of people are giving up hope on the snap, crackle and pop problem. ) Does Creative acknowledge the problem exists? 2) Have Creative replicated this p

Import Quality Question

Ok I don't know much about this but, How much audio quality do you lose when you import from a CD? Also, if the answer is lots, then does iTunes use that lossless audio encoder called apple lossless and if not where can I get and what do I need to us

Simple I/O question....I think

I was trying to read a text file, and I keep getting spaces between my characters, anyone know why this is? It looks like the compiler adds a space when doing a char cast. I've also tried the readLine() from BufferedReader and that puts spaces in my

Simple JPA - JSF question

Welcome! I Have simple question regarding updating JPA entities from JSF application One option is to directly invoke entity manager code from JSF managed bean action, but in this case we must explicitly deal with transactions (and we don't get other

Simple line reader question

I'm trying to implement a line reader class, but my code does not seem to compile, giving the error that there is no return statement. here's my code. import*; import java.util.*; public class InputLineReader      public static String lineRe

Important JMF question

hello. i managed to get both the menu + JMF programs below compiling. when i choose a media file from a directory, the file chooser closes down and the window that the audio or video is supposed to be played on opens up. but the window is blank. how

Static questions and a watermark

Hi all, I have iMovie '09 but I can get '11 if needed. Is it possible to add frames with text midst a movie? I am filming a person answering questions; the questions will appear on screen as text. Also, am I able to add a watermark to the full movie?

General Simple Linux Printing Questions

So, I'm using Arch Linux with XFCE. In Ubuntu, it's relatively simple to set up printing. However, on Arch Linux, I don't know how to do it. I have a few simple questions: * Are all those "easy to use" printing setup GUIs just configurators/fron

Simple java pgm - question

Hallo, to the following pgm I had question: static void printPrimes (int max) (= wavy bracket; boolean(should be angular brackets) sieve = new booolean (angular br max+1 angular br) int i,j; for (i=2; i = max;i++)sieve(angluarbr i angular br)= true i

Error when importing static files in run-time installation

Hello all, I have a development environment running 3.2 and also a run-time test environment running 3.2. I'm trying to import an export of static files from the development environment into the test environment, and we're getting the following: SQL>