Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7499543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:51:27+00:00 2026-05-29T19:51:27+00:00

Ok so i am a noobie at Java as many of those editing my

  • 0

Ok so i am a noobie at Java as many of those editing my questions know, but im learning YAY!! now i have three classes a main class (Gun.class) and two sub classes (gunopen) and (gunopenboard) what i want to research so i don’t post like 50 totally noobie questions is:

how do i get the main class(Gun) to call the first class (gunopen) and when that finishes (also I’m assuming i will need a value to be returned from (gunopen) but i don’t know) call the second class (gunopenboard). I have no idea what this is called or anything so im not going to ask much just a good tutorial website something so i can study how to do the above!! thanks guys!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T19:51:29+00:00Added an answer on May 29, 2026 at 7:51 pm

    You can start here – http://docs.oracle.com/javase/tutorial/java/javaOO/classes.html

    Coming to your question , In your main () method in Gun class you can instantiate objects of gunopen using new keyword in java and call the appropriate method and then you can instantiate the object of the second class gunopenboard and call the appropriate method .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This may be a noobie questions, but... So I have a pyc file that
Total noobie question here. I'm just learning Java, and studying passing arguments to functions.
this is a noobie question regarding tree maps. I have read through the Java
Sorry for the noobie and stupid question, but I know only a bit about
Okay. This is propably very basic and noobie, but I have about 20+ stores
Noobie so bear with me. I've have been following the O'Rielyy Learning iPhone Programming
I have a noobie question: I need to write SQL script that returns 3
This may actually show how much of a Noobie I am but does anyone
I am a jQuery noobie, and have been trying to add a script to
This is a noobie question, but I'm not sure how to pass by reference

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.