Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some of the programs are not getting proper output. #49

Open
itsabishiek opened this issue Oct 1, 2023 · 4 comments
Open

Some of the programs are not getting proper output. #49

itsabishiek opened this issue Oct 1, 2023 · 4 comments

Comments

@itsabishiek
Copy link

I've tried many programs, only simple programs are getting executed, but programs like data structures, linkedlist, interfaces and many are not working.

@Jaagrav
Copy link
Owner

Jaagrav commented Oct 1, 2023

Can you please provide more details here, and the response you're getting + the expected response?

@itsabishiek
Copy link
Author

itsabishiek commented Oct 1, 2023

Alright let me show you an example

interface printable{  
void print();  
}  
class A6 implements printable{  
public void print(){System.out.println("Hello");}  
  
public static void main(String args[]){  
A6 obj = new A6();  
obj.print();  
 }  
} 

The expected output is:

Hello

But I got here is error:

error: can't find main(String[]) method in class: printable

there are many problems are working in various languages

@itsabishiek
Copy link
Author

But still this is not get executing though :(

@Jaagrav
Copy link
Owner

Jaagrav commented Oct 1, 2023

It won't the PR is still open 😅

I am trying to find a better way to fix this issue, the PR has what came first to my mind, but when I thought more about it, this PR will break things, will get back to you once I have an update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants