class DataManager{
private List<String> list = Arrays.asList('green', 'blue');
public ArrayList getList(){
return list;
}
}
// in another class, say in your main method
DataManager manager = new DataManager()
for(int i = 0; i < manager.getList().size(); i++){
System.out.println (manager.getList().get(i));
}
My Answers for Dummies
Monday, 9 April 2018
How to Create an ArrayList and Access it from Another Class
Saturday, 11 July 2015
How can I code for an" login"on html thanks in advance
Question:
How can I code for an" login"on html thanks in advance
.
Answer:
To create code for a login form you need a text editor or a builder/tool that generates html code. A typical login form will contain the fields shown in the following image:
However, to have a nice layout of the fields shown in the picture you need additional html elements or CSS elements.
There are many concrete examples with code on how to create a login form in html: A simple Google search gave me many results including the following:
Tip
Here are some tips:
Notes:
This question was originally asked on Facebook on 11-July-2015
How can I code for an" login"on html thanks in advance
.
Answer:
To create code for a login form you need a text editor or a builder/tool that generates html code. A typical login form will contain the fields shown in the following image:
However, to have a nice layout of the fields shown in the picture you need additional html elements or CSS elements.
There are many concrete examples with code on how to create a login form in html: A simple Google search gave me many results including the following:
- http://www.cssflow.com/snippets/login-form/demo/html
- https://www.authpro.com/cgi-bin/authcode.cgi?user=deluxe
Tip
Here are some tips:
- There is a way of learning doing stuff in html by visiting actual web pages and choosing to view the source code for the site.
- You can ask Google about anything concerning html
Notes:
This question was originally asked on Facebook on 11-July-2015
hi guis? what is the name of facebook creator? for remembering!
Question:
"hi guis? what is the name of facebook creator? for remembering!"
Comment:
I am not guis but I shall attempt to answer the question.
Answer:
Mark Zuckerberg is the founder and CEO of Facebook, which he started in his college dorm room in 2004 with roomates Dustin Moskovitz and Chris Hughes.
Answer Source:
https://www.facebook.com/pages/Mark-Zuckerberg-Creator-of-FB-/114431475291937
Method used to find answer:
Google search
Other notes:
This question was originally asked on Facebook on 11-July-2015
"hi guis? what is the name of facebook creator? for remembering!"
Comment:
I am not guis but I shall attempt to answer the question.
Answer:
Mark Zuckerberg is the founder and CEO of Facebook, which he started in his college dorm room in 2004 with roomates Dustin Moskovitz and Chris Hughes.
Answer Source:
https://www.facebook.com/pages/Mark-Zuckerberg-Creator-of-FB-/114431475291937
Method used to find answer:
Google search
Other notes:
This question was originally asked on Facebook on 11-July-2015
Subscribe to:
Comments (Atom)


